import {
    createBrowserRouter,
} from "react-router-dom";
import App from "@/App";
import ProductList from "@/components/productlist";

export const router = createBrowserRouter([
    {
        id: "home",
        path: "/home",
        element: <App />,
        children: [
            {
                id: "productList",
                path: "productList",
                element: <ProductList />,
            },
        ],
    },
]);
